package com.yw.swagger.service;


import com.yw.swagger.model.SpNotice;
import com.yw.swagger.model.SpNoticeFile;

import java.util.List;


/**
 * Created by 14267 on 2019/10/24
 */
public interface SpNoticeService {
    public List<SpNotice> selectNoticesAllList();
    public List<SpNotice> selectNoticesList(SpNotice spNotice);
    public List<SpNotice> selectNoticesAnswerList(SpNotice spNotice);
    public SpNotice selectNoticeInfoByNoticeId(String noticeId, String toUser);
    public List<SpNotice> selectNoticeFromInfoByNoticeId(String noticeId);
    public List<SpNoticeFile> selectNoticeFileByNoticeId(String noticeId);
    public int addNotice(SpNotice spNotice, String toUsers, String lxrs, String lxdhs, String fileNames, String filePath);
    public int delNoticeTo(String noticeId, String toUser);
    public int deleteByIds(String noticeIds, String toUser);
    public int setAnswer(SpNotice spNotice);
}
